import { request } from "@xiaoe/js-tools/lib/request";

//定义直播前缀
var alivePrefix = ""
function changealivePrefix(data){
  alivePrefix = data
}

// 订单数据
const initOrderData = params => {
  return request({
    url: `${alivePrefix}/xe.transaction.order.payment.info/1.0.0`,
    params
  })
}

export {
  initOrderData,
  changealivePrefix
};